package com.ppc.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author BEJSON
 * @description Worker
 * @date 2023-10-31
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Worker implements Serializable {

  /**
   * 工人id
   */
  private Long workerId;

  /**
   * 用户id
   */
  private Long userId;

  /**
   * 工人私钥
   */
  private String workerSk;

  /**
   * 工人信誉
   */
  private Integer workerCredit;

  /**
   * 工人标签
   */
  private String workerTag;

  /**
   * 工人余额
   */
  private Float workerCount;

  /**
   * 0--禁用 1--启用
   */
  private Integer workerStatus;

  /**
   * 工人创建时间
   */
  private LocalDateTime workerCreateTime;

  /**
   * 工人修改时间
   */
  private LocalDateTime updateTime;

  /**
   * 修改管理员的id
   */
  private Long updateAdmin;
  /**
   * 工人姓名
   */
  private String workerName;

}